Skip to content

AdoptOpenJDK 17 Support#80

Draft
Redstoneguy129 wants to merge 10 commits into
ev3dev-lang-java:masterfrom
Redstoneguy129:master
Draft

AdoptOpenJDK 17 Support#80
Redstoneguy129 wants to merge 10 commits into
ev3dev-lang-java:masterfrom
Redstoneguy129:master

Conversation

@Redstoneguy129

Copy link
Copy Markdown

This adds support for building JDK 17 for the EV3.
A few issues must be known:

  • The builds themself fail.
  • The issue i believe has to do with sources that have been moved or discontinued.
  • The jdk source i have put links to an old Adoptium CI job that worked in the past. All newer jobs fail relating to my 2nd issue.
  • The .patch file contribution i believe i have not worked on it well as there isn't a way to test it.

Currently to get the JDK 17 onto the EV3 i run this via ssh.

wget https://ci.adoptium.net/job/eljbuild/job/${DEBIAN_DISTRO}-bleeding/84/artifact/build/jdk-ev3.tar.gz

Unpackage it, then set java path.

This will give you a working JDK 17-ev3-unreleased.
It would be great it we can get this build working again allowing us to support even newer versions of Java.

@Redstoneguy129

Copy link
Copy Markdown
Author

@Redstoneguy129

Copy link
Copy Markdown
Author

Last successful build being 2 years, 9 months ago.
https://ci.adoptium.net/job/eljbuild/

@Redstoneguy129 Redstoneguy129 marked this pull request as draft March 11, 2024 19:50
@Redstoneguy129

Copy link
Copy Markdown
Author

Turned into Draft as this needs contributions made before it's production ready

@Redstoneguy129

Copy link
Copy Markdown
Author

If you wish to contact me for easier communication my email is displayed on my github, if you would prefer my Discord the username is same as my Github username.

@jabrena

jabrena commented Mar 11, 2024

Copy link
Copy Markdown
Member

I will reach you tomorrow for sure!

@jabrena jabrena self-requested a review March 12, 2024 09:41
@jabrena

jabrena commented Sep 22, 2025

Copy link
Copy Markdown
Member

I need more people involved in this development

@jabrena

jabrena commented Sep 22, 2025

Copy link
Copy Markdown
Member

Who want to participate?

@Project516

Copy link
Copy Markdown

Id like to help any way i can!

@jabrena

jabrena commented Sep 23, 2025

Copy link
Copy Markdown
Member

@Project516, many thanks for the feedback, at least it is necessary to have 2 team members to maintain this repository. I am not sure if @Redstoneguy129 could participate. This repository would need few upgrades every 6 months as 6 months is the Java build cadence.

@Redstoneguy129

Redstoneguy129 commented Sep 25, 2025

Copy link
Copy Markdown
Author

I am no longer at the university so I have no access to an EV3.
I have forwarded your reply to a few people i know who might be interested.

@jabrena

jabrena commented Sep 29, 2025

Copy link
Copy Markdown
Member

Hi @Redstoneguy129, many thanks for to forward if exist few people interesting to maintain the build of OpenJDK for ARM5 it could be great, not so much hours every 6 months.

@Project516

Copy link
Copy Markdown
  • The issue i believe has to do with sources that have been moved or discontinued.

@Redstoneguy129 I had this issue too, for some reason when I installed the packages in smaller chunks it worked.

@@ -1,4 +1,8 @@
deb http://httpredir.debian.org/debian buster main contrib non-free

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need to be changed to archive.debian.org

@@ -1,4 +1,2 @@
deb http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb http://deb.debian.org/debian-security stretch/updates main contrib non-free

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn’t need to be deleted, as archive.debian.org has security updates too.

Comment thread system/Dockerfile.native
@@ -1,4 +1,4 @@
ARG DEBIAN_RELEASE=stretch
ARG DEBIAN_RELEASE=buster

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will stretch not be supported?

Comment thread system/Dockerfile.cross

# setup repositories and install required packages
COPY sources.list.$DEBIAN_RELEASE /etc/apt/sources.list
#COPY sources.list.$DEBIAN_RELEASE /etc/apt/sources.list

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this committed out?

Comment thread scripts/config.sh
JRI_MODULES="java.se,jdk.jdwp.agent,jdk.unsupported,jdk.management.agent,jdk.jartool,jdk.crypto.ec"

JTREG="$BUILDDIR/jtreg"
JTREG_URL="https://ci.adoptopenjdk.net/view/Dependencies/job/jtreg/lastSuccessfulBuild/artifact/jtreg-4.2.0-tip.tar.gz"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been moved to https://github.com/openjdk/jtreg

@jabrena

jabrena commented Oct 1, 2025

Copy link
Copy Markdown
Member

Hi @Project516, I suggest to put focus on the build with Github Actions if you are interested to collaborate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants